package com.yumis.service.model.pojo;

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "yk_shop_vip_card")
@Data
public class ShopVipCard {
    @Id
    @KeySql(useGeneratedKeys = true)
    private Long id;

    private String title;

    /**
     * 0:储蓄卡；1;计次卡
     */
    private Boolean type;

    /**
     * 售价
     */
    private Integer sellingPrice;

    /**
     * 原价
     */
    private Integer originalPrice;

    /**
     * 销售量
     */
    private Integer salesVolume;

    /**
     * 卡状态：0在售，1停售
     */
    private Boolean state;

    private Long shopId;
}